package nowcoder.day_48.day4;

import java.util.Scanner;

/**
 * 计算糖果
 */
public class Num1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        int d = scanner.nextInt();

        int A = (a + c) / 2;
        int B1 = (b + d) / 2;
        int B2 = (c - a) / 2;
        int C = (d - b) / 2;

        if (B1 == B2){
            System.out.println(A + " " + B1 + " " + C);
        }else {
            System.out.println("No");
        }

    }
}
